﻿@model ConsoleApplication2.Models.Vend

@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Vend</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.VENDSRH)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.VENDSRH)
            @Html.ValidationMessageFor(model => model.VENDSRH)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.COMPANY)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.COMPANY)
            @Html.ValidationMessageFor(model => model.COMPANY)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ADDR1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ADDR1)
            @Html.ValidationMessageFor(model => model.ADDR1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ADDR2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ADDR2)
            @Html.ValidationMessageFor(model => model.ADDR2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CITY)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CITY)
            @Html.ValidationMessageFor(model => model.CITY)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.STATE)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.STATE)
            @Html.ValidationMessageFor(model => model.STATE)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ZIP)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ZIP)
            @Html.ValidationMessageFor(model => model.ZIP)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FEDID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FEDID)
            @Html.ValidationMessageFor(model => model.FEDID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CONTACT)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CONTACT)
            @Html.ValidationMessageFor(model => model.CONTACT)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PHONE)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PHONE)
            @Html.ValidationMessageFor(model => model.PHONE)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ISSUE1099)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ISSUE1099)
            @Html.ValidationMessageFor(model => model.ISSUE1099)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ONETIME)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ONETIME)
            @Html.ValidationMessageFor(model => model.ONETIME)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FAX)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FAX)
            @Html.ValidationMessageFor(model => model.FAX)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ACCT, "Acct1")
        </div>
        <div class="editor-field">
            @Html.DropDownList("ACCT", String.Empty)
            @Html.ValidationMessageFor(model => model.ACCT)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CURRENCY, "currency1")
        </div>
        <div class="editor-field">
            @Html.DropDownList("CURRENCY", String.Empty)
            @Html.ValidationMessageFor(model => model.CURRENCY)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.APACCT, "Acct2")
        </div>
        <div class="editor-field">
            @Html.DropDownList("APACCT", String.Empty)
            @Html.ValidationMessageFor(model => model.APACCT)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.OUTPATIENT)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OUTPATIENT)
            @Html.ValidationMessageFor(model => model.OUTPATIENT)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DESC)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DESC)
            @Html.ValidationMessageFor(model => model.DESC)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TYPE)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TYPE)
            @Html.ValidationMessageFor(model => model.TYPE)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PYMT_TERMS)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PYMT_TERMS)
            @Html.ValidationMessageFor(model => model.PYMT_TERMS)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SPECIALTY, "Specialty1")
        </div>
        <div class="editor-field">
            @Html.DropDownList("SPECIALTY", String.Empty)
            @Html.ValidationMessageFor(model => model.SPECIALTY)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.LICENSE_NO)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LICENSE_NO)
            @Html.ValidationMessageFor(model => model.LICENSE_NO)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.STAFFTYPE)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.STAFFTYPE)
            @Html.ValidationMessageFor(model => model.STAFFTYPE)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.File_Primary_Key)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.File_Primary_Key)
            @Html.ValidationMessageFor(model => model.File_Primary_Key)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.VendDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.VendDate)
            @Html.ValidationMessageFor(model => model.VendDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ISMASTER)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ISMASTER)
            @Html.ValidationMessageFor(model => model.ISMASTER)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.sunfrom1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.sunfrom1)
            @Html.ValidationMessageFor(model => model.sunfrom1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.sunto1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.sunto1)
            @Html.ValidationMessageFor(model => model.sunto1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.sunfrom2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.sunfrom2)
            @Html.ValidationMessageFor(model => model.sunfrom2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.sunto2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.sunto2)
            @Html.ValidationMessageFor(model => model.sunto2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.sunfrom3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.sunfrom3)
            @Html.ValidationMessageFor(model => model.sunfrom3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.sunto3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.sunto3)
            @Html.ValidationMessageFor(model => model.sunto3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.monfrom1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.monfrom1)
            @Html.ValidationMessageFor(model => model.monfrom1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.monto1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.monto1)
            @Html.ValidationMessageFor(model => model.monto1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.monfrom2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.monfrom2)
            @Html.ValidationMessageFor(model => model.monfrom2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.monto2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.monto2)
            @Html.ValidationMessageFor(model => model.monto2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.monfrom3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.monfrom3)
            @Html.ValidationMessageFor(model => model.monfrom3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.monto3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.monto3)
            @Html.ValidationMessageFor(model => model.monto3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.tuefrom1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.tuefrom1)
            @Html.ValidationMessageFor(model => model.tuefrom1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.tueto1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.tueto1)
            @Html.ValidationMessageFor(model => model.tueto1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.tuefrom2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.tuefrom2)
            @Html.ValidationMessageFor(model => model.tuefrom2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.tueto2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.tueto2)
            @Html.ValidationMessageFor(model => model.tueto2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.tuefrom3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.tuefrom3)
            @Html.ValidationMessageFor(model => model.tuefrom3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.tueto3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.tueto3)
            @Html.ValidationMessageFor(model => model.tueto3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.wedfrom1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.wedfrom1)
            @Html.ValidationMessageFor(model => model.wedfrom1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.wedto1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.wedto1)
            @Html.ValidationMessageFor(model => model.wedto1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.wedfrom2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.wedfrom2)
            @Html.ValidationMessageFor(model => model.wedfrom2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.wedto2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.wedto2)
            @Html.ValidationMessageFor(model => model.wedto2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.wedfrom3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.wedfrom3)
            @Html.ValidationMessageFor(model => model.wedfrom3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.wedto3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.wedto3)
            @Html.ValidationMessageFor(model => model.wedto3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.thufrom1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.thufrom1)
            @Html.ValidationMessageFor(model => model.thufrom1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.thuto1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.thuto1)
            @Html.ValidationMessageFor(model => model.thuto1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.thufrom2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.thufrom2)
            @Html.ValidationMessageFor(model => model.thufrom2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.thuto2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.thuto2)
            @Html.ValidationMessageFor(model => model.thuto2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.thufrom3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.thufrom3)
            @Html.ValidationMessageFor(model => model.thufrom3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.thuto3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.thuto3)
            @Html.ValidationMessageFor(model => model.thuto3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.frifrom1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.frifrom1)
            @Html.ValidationMessageFor(model => model.frifrom1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.frito1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.frito1)
            @Html.ValidationMessageFor(model => model.frito1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.frifrom2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.frifrom2)
            @Html.ValidationMessageFor(model => model.frifrom2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.frito2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.frito2)
            @Html.ValidationMessageFor(model => model.frito2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.frifrom3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.frifrom3)
            @Html.ValidationMessageFor(model => model.frifrom3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.frito3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.frito3)
            @Html.ValidationMessageFor(model => model.frito3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.satfrom1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.satfrom1)
            @Html.ValidationMessageFor(model => model.satfrom1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.satto1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.satto1)
            @Html.ValidationMessageFor(model => model.satto1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.satfrom2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.satfrom2)
            @Html.ValidationMessageFor(model => model.satfrom2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.satto2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.satto2)
            @Html.ValidationMessageFor(model => model.satto2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.satfrom3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.satfrom3)
            @Html.ValidationMessageFor(model => model.satfrom3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.satto3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.satto3)
            @Html.ValidationMessageFor(model => model.satto3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.notes)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.notes)
            @Html.ValidationMessageFor(model => model.notes)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CreationDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CreationDate)
            @Html.ValidationMessageFor(model => model.CreationDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ServicePerc)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ServicePerc)
            @Html.ValidationMessageFor(model => model.ServicePerc)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Lastupdate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Lastupdate)
            @Html.ValidationMessageFor(model => model.Lastupdate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.code)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.code)
            @Html.ValidationMessageFor(model => model.code)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ANumber)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ANumber)
            @Html.ValidationMessageFor(model => model.ANumber)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.enablevat)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.enablevat)
            @Html.ValidationMessageFor(model => model.enablevat)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CSTCTRID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CSTCTRID)
            @Html.ValidationMessageFor(model => model.CSTCTRID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.under_collection_acct, "Acct3")
        </div>
        <div class="editor-field">
            @Html.DropDownList("under_collection_acct", String.Empty)
            @Html.ValidationMessageFor(model => model.under_collection_acct)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.secondspeciality)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.secondspeciality)
            @Html.ValidationMessageFor(model => model.secondspeciality)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IID)
            @Html.ValidationMessageFor(model => model.IID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MasterID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MasterID)
            @Html.ValidationMessageFor(model => model.MasterID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FeesPlan)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FeesPlan)
            @Html.ValidationMessageFor(model => model.FeesPlan)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TPI)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TPI)
            @Html.ValidationMessageFor(model => model.TPI)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.UID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UID)
            @Html.ValidationMessageFor(model => model.UID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ExternalParty)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ExternalParty)
            @Html.ValidationMessageFor(model => model.ExternalParty)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.RefFeesplan)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.RefFeesplan)
            @Html.ValidationMessageFor(model => model.RefFeesplan)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MonthlyTarget)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MonthlyTarget)
            @Html.ValidationMessageFor(model => model.MonthlyTarget)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.VND_Physio)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.VND_Physio)
            @Html.ValidationMessageFor(model => model.VND_Physio)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Vend_AcctAssigned)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Vend_AcctAssigned)
            @Html.ValidationMessageFor(model => model.Vend_AcctAssigned)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Vend_ItemPrefix)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Vend_ItemPrefix)
            @Html.ValidationMessageFor(model => model.Vend_ItemPrefix)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Vend_Reference)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Vend_Reference)
            @Html.ValidationMessageFor(model => model.Vend_Reference)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Vend_RecordType)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Vend_RecordType)
            @Html.ValidationMessageFor(model => model.Vend_RecordType)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Vend_RecordID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Vend_RecordID)
            @Html.ValidationMessageFor(model => model.Vend_RecordID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Vnd_Department)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Vnd_Department)
            @Html.ValidationMessageFor(model => model.Vnd_Department)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
